Flow-sensitive Type Analysis for C++ Flow-sensitive Type Analysis for C++
نویسندگان
چکیده
LIMITED DISTRIBUTION NOTICE This report has been submitted for publication outside of IBM and will probably be copyrighted if accepted for publication. It has been issued as a Research Report for early dissemination of its contents. In view of the transfer of copyright to the outside publisher, its distribution outside of IBM prior to publication should be limited to peer communications and speciic requests. After outside publication, requests should be lled only by reprints or legally obtained copies of the article (e.g., payment of royalties). Abstract Static determination of run-time types is a key analysis step for compile-time optimizations of object-oriented languages with dynamic dispatch of functions. Type information is fundamental for determining the virtual functions that can be invoked and enables a number of interprocedural analyses and transformations. For example, knowledge of the types of objects at virtual function call sites opens opportunities for inlining, which in turn facilitates a number of intraprocedural compiler optimizations. The results of type analysis may also aid function cloning based on the types of function parameters. In this paper, we show how an existing ow-sensitive pointer alias analysis that uses a compact representation can be adapted to provide a type analysis algorithm which computes type information in a lazy fashion, thereby incurring minimal additional overhead. We show that use of the type information as soon as it becomes available can, in turn, improve the precision of the pointer alias analysis. We demonstrate that incorporating knowledge of the class hierarchy into our algorithm improves its precision, and show that our ow-sensitive method is more precise than ow-insensitive methods.
منابع مشابه
Developed Method Application for Nitrite Ion (NO2¯ ) Analysis of Tib -186 Macrophage Like Cell Lines by Rapid Isocratic HPLC System with High Sensitive Glassy Carbon Electrochemical Detector
A rapid isocratic method of high performance liquid chromatography system (HPLC) with a glassy carbon working electrode of electrochemical detector is set up for quantitative detection of trace amount of nitrite ion (NO2¯) in aqueous protein containing cell lysate, cell media, plasma, serum, urine and other body fluids. The solid extraction reversed phase cartridges ...
متن کاملComparing the Behavior Hydrodynamics Flow Over of Type A, B, and C Piano Key Weirs
The piano key weir (PKW) is a new type of hydraulic structure that has been of great interest to designers in recent years. In the present study, steady flow on the types A, B, and C PKWs was studied numerically using the FLOW-3D numerical model. Upon software validation using the experimental data, the 3D flow pattern on the types A, B, and C PKWs was studied, and along with the evaluation of ...
متن کاملمقایسه میزان سیلان و ضریب انبساط حرارتی خطی چند نوع موم بیس پلیت با استاندارد ADA
Waxes have a lot of applications in dentistry. Such materials are of thermoplastic type that undergoes deformation in different temperatures. Two important properties of base plate waxes are flow and their coefficient of linear thermal expansion. Recently, different institutions, inside the country, produce dentistry waxes, while they have not been standardized. Consequently, consumers' dissati...
متن کاملResistance to Flow in a V-Shaped Bottom Channel
Water flow in open channels is always subject to the resistance to flow and energy dissipation. For design purposes, one of the needed variables is the hydraulic resistance coefficient. For this mean, the influence of cross-sectional shape together with secondary flow cells and lateral distribution of true boundary shear stress have not yet been fully explored. This paper surveys the number of ...
متن کاملLow flow frequency analysis by L-moments method (Case study: Iranian Central Plateau River Basin)
Knowledge about low flow statistics is essential for effective water resource planning and management in ungauged orpoorly gauged catchment areas, especially in arid and semi-arid regions such as Iran. We employed a data set of 20 riverflow time-series from the Iranian Central Plateau River Basin, Iran to evaluate the low-flow series using several frequencyanalysis methods and compared the resu...
متن کاملHeat Transfer Enhancement of a Flat Plate Boundary Layer Distributed by a Square Cylinder: Particle Image Velocimetry and Temperature-Sensitive Paint Measurements and Proper Orthogonal Decomposition Analysis
The current empirical study was conducted to investigate the wall neighborhood impact on the two-dimensional flow structure and heat transfer enhancement behind a square cylinder. The low- velocity open-circle wind tunnel was used to carry out the study tests considering the cylinder diameter (D)-based Reynolds number (ReD) of 5130. The selected items to compare were different gap he...
متن کامل